home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1612 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  3.4 KB  |  87 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "I don\'t think I want to make the Bum cry.";
  13.       }
  14.       if(_root.micon._currentframe == 2)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          _root.next_txt1 = "Just your run of the mill backlot bum.  He doesn\'t really bother anyone but smells awful.";
  18.       }
  19.       if(_root.micon._currentframe == 1 && _root.range == true)
  20.       {
  21.          _root.next_dis1 = 2;
  22.          _root.next_txt1 = "No way!  I can name at least 50 different deases I might get by touching him.";
  23.       }
  24.       if(_root.micon._currentframe == 42 && _root.even16 == 1 && _root.range == true)
  25.       {
  26.          _root.even16 = 2;
  27.          _root.micon.gotoAndStop(1);
  28.          _root.sfx.gotoAndStop(3);
  29.          _root.next_dis1 = 3;
  30.          _root.di1 = 141;
  31.          _root.next_txt1 = "Thanks a lot kid, I\'ll see ya later!";
  32.       }
  33.       if(_root.micon._currentframe == 11 && _root.range == true && _root.talk4 == 1)
  34.       {
  35.          _root.sfx.gotoAndStop(3);
  36.          _root.even16 = 1;
  37.          _root.micon.gotoAndStop(1);
  38.          _root.txt_number = 3;
  39.          _root.next_dis3 = 3;
  40.          _root.di3 = 138;
  41.          _root.next_txt3 = "Thanks for the soap. I\'m sure this will help me on the way to getting a job, but I\'ve kinda grown attached to these here flies.";
  42.          _root.next_dis2 = 3;
  43.          _root.di2 = 139;
  44.          _root.next_txt2 = "They\'s gonna need a nice place to live if I\'m all clean and such.";
  45.          _root.next_dis1 = 2;
  46.          _root.di1 = 140;
  47.          _root.next_txt1 = "I\'ll see what I can do for ya.";
  48.       }
  49.       if(_root.micon._currentframe == 4 && _root.range == true && _root.txt_number <= 1)
  50.       {
  51.          if(_root.talk4 == 0)
  52.          {
  53.             _root.talk4 = 1;
  54.             _root.txt_number = 6;
  55.             _root.next_dis6 = 3;
  56.             _root.di6 = 130;
  57.             _root.next_txt6 = "Hey kid! Got any spare change?";
  58.             _root.di5 = 131;
  59.             _root.next_txt5 = "No, I\'m sorry I can\'t help you right now. I\'m on a mission to find a date for the big dance tonight.";
  60.             _root.next_dis5 = 2;
  61.             _root.next_txt4 = "Me. Me. Me. Everythin is about you. Maybe I\'M hungry. Ever thought about that?";
  62.             _root.di4 = 132;
  63.             _root.next_dis4 = 3;
  64.             _root.next_txt3 = "You could always just get a job...";
  65.             _root.di3 = 133;
  66.             _root.next_dis3 = 2;
  67.             _root.next_txt2 = "Who\'s gonna hire me lookin like this?";
  68.             _root.di2 = 134;
  69.             _root.next_dis2 = 3;
  70.             _root.next_txt1 = "Good point. I\'ll see what I can do to help.";
  71.             _root.di1 = 135;
  72.             _root.next_dis1 = 2;
  73.          }
  74.          else if(_root.talk4 == 1)
  75.          {
  76.             _root.txt_number = 2;
  77.             _root.next_dis2 = 3;
  78.             _root.di2 = 130;
  79.             _root.next_txt2 = "Hey kid! Got any spare change?";
  80.             _root.next_txt1 = "No, I\'m sorry, but I am working on your job problem.";
  81.             _root.di1 = 136;
  82.             _root.next_dis1 = 2;
  83.          }
  84.       }
  85.    }
  86. }
  87.